package com.gem.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hhhy
 * @since 2020-03-05
 */
@Data
public class AoaNoticeUserRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "relatin_id", type = IdType.AUTO)
    private Integer relatinId;

    private Integer isRead;

    private Integer relatinNoticeId;

    private Integer relatinUserId;

    private Integer forward;//用于标识是否已转发

    private Integer del_flag;//逻辑删除标识

//    private AoaNoticeList noticeId;


    public AoaNoticeUserRelation(Integer isRead, Integer relatinNoticeId, Integer relatinUserId) {
        this.isRead = isRead;
        this.relatinNoticeId = relatinNoticeId;
        this.relatinUserId = relatinUserId;
    }

    public AoaNoticeUserRelation() {
    }
}
